package com.ysd.lis.controller.bac;

import com.ysd.common.Result;
import com.ysd.lis.controller.pub.BaseController;
import com.ysd.lis.dto.bac.BacAntClassDto;
import com.ysd.lis.request.bac.BacAntClassParam;
import com.ysd.lis.service.bac.BacDrugNotReportService;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;


/**
 * <p>
 * </p>
 *
 * @author HuaiXing
 * @since 2025-03-20
 */
@RestController
@RequestMapping("/bac/drug/not/report")
public class BacDrugNotReportController extends BaseController {

    @Autowired
    BacDrugNotReportService bacDrugNotReportService;

    @ApiOperation("查询")
    @GetMapping("/findBacDrugNotReport")
    public Result findBacDrugNotReport(BacAntClassParam param){
        return bacDrugNotReportService.findBacDrugNotReport(param);
    }

    @ApiOperation("修改")
    @PostMapping("/saveOrUpdateBacDrugNotReport")
    public Result saveOrUpdateBacDrugNotReport(@RequestBody BacAntClassDto dto) {
        return bacDrugNotReportService.saveOrUpdateBacDrugNotReport(dto);
    }

    @ApiOperation("删除")
    @PostMapping("/batchDeleteBacDrugNotReport")
    public Result batchDeleteBacDrugNotReport(@RequestBody BacAntClassDto dto) {
        return bacDrugNotReportService.batchDeleteBacDrugNotReport(dto);
    }

}
